package com.quickask.idao;

import com.quickask.common.Pager;
import com.quickask.entity.AsknowQuestionClassifyEntity;

/**
 * Created by Administrator on 2015/9/30.
 */
public interface IQuestionClassifyDao {

    /**
     * 添加问题类别实体
     * @param asknowQuestionClassifyEntity
     */
    public void addQuestionClassify(AsknowQuestionClassifyEntity asknowQuestionClassifyEntity);

    /**
     * 更具问题类别获取问题分页
     * @param pageNo 分页号
     * @param pageSize 分页大小
     * @param classifyName 类别名
     * @return
     */
    public Pager<AsknowQuestionClassifyEntity> findQuestionPagerByQuestionClassify(int pageNo, int pageSize, String classifyName);
}
